package com.learn.blog.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @Package: com.learn.blog.admin.pojo
 * @ClassName: Admin_permission
 * @Author: 陈威
 * @CreateTime: 2021/9/15 21:20
 * @Description:
 */

public class Admin_permission {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long adminId;
    private Long permissionId;

    public Admin_permission() {

    }

    public Admin_permission(Long id, Long adminId, Long permissionId) {
        this.id = id;
        this.adminId = adminId;
        this.permissionId = permissionId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }
}